<?php /* Smarty version 2.6.26, created on 2018-07-25 16:20:37
         compiled from E:%5CWWW%5C40.125.208.171%5Cvweb/admin%5Ctemplates/goods_brand/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'img_size', 'E:\\WWW\\40.125.208.171\\vweb/admin\\templates/goods_brand/index.html', 34, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div class="nav"><span>品牌列表</span></div>
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>产品品牌展示，品牌的划分可以具体到某一分类下，如真维斯对于的男装，在外套中，可以选择真维斯，归于男装品牌。也可以归为顶级的分类，归为男女装。</p> 
	</div> 
</div>
<div class="filter">
	<a href="?m=goods_brand&a=edit" class="add">添加品牌</a>
	<input type="button" name="del_checked" class="del_ck button" value="删除选项"/> 
</div>
<div class="main">  
	<table class="ltable">
		<thead>
			<tr>
				<th width="30"><input type="checkbox" class="checked_all"/></th> 
				<th width="100">所属分类</th>
				<th width="500">品牌名称</th>
				<th width="60">排序</th>
				<th width="60">状态</th>
				<th width="135">操作</th>
				<th width="130">创建时间</th>
				<th></th>
			</tr>
		</thead>
		<tbody>
		<?php if ($this->_tpl_vars['data']['list']): ?>
			<?php $_from = $this->_tpl_vars['data']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
				<tr>
					<td><input name="key_id[]" type="checkbox" value="<?php echo $this->_tpl_vars['i']['id']; ?>
" class="checked_list"/></td>
					<td><?php echo $this->_tpl_vars['i']['category_cn']; ?>
</td>
					<td><span style="float: left;"><?php echo $this->_tpl_vars['i']['name']; ?>
</span>
						<div class="upload_tip vtip" data-img="<?php if ($this->_tpl_vars['i']['images']): ?><?php echo $this->_tpl_vars['__IMG__']; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['i']['images'])) ? $this->_run_mod_handler('img_size', true, $_tmp, '120x0') : $this->_plugins['modifier']['img_size'][0][0]->img_size($_tmp, '120x0')); ?>
<?php endif; ?>"></div>
					</td>
					<td><?php echo $this->_tpl_vars['i']['px']; ?>
</td> 
					<td><?php if ($this->_tpl_vars['i']['status'] == '1'): ?>正常<?php else: ?>关闭<?php endif; ?></td>
					<td>
						<a href="?m=goods_brand&a=edit&id=<?php echo $this->_tpl_vars['i']['id']; ?>
" class="edit">编辑</a>
						<a href="javascript:;" data-id="<?php echo $this->_tpl_vars['i']['id']; ?>
" class="del">删除</a>
					</td>
					<td><?php echo $this->_tpl_vars['i']['addtime']; ?>
</td>
					<td></td>
				</tr> 
			<?php endforeach; endif; unset($_from); ?>
		<?php else: ?>
	 	 	<tr><td colspan="8">还没有数据，赶快添加吧！</td></tr>
		<?php endif; ?>
		</tbody> 
	</table> 
	<?php if ($this->_tpl_vars['data']['page']): ?><div class="page"><?php echo $this->_tpl_vars['data']['page']; ?>
</div><?php endif; ?>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script type="text/javascript">
_delete('?m=goods_brand&a=del', '.del_ck');
</script>